package teach.aistar.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import teach.aistar.model.entity.Examine;

import java.util.List;

public interface ExamineMapper {
    @Select("select * from examine")
    List<Examine> selectAll();

    @Select("select * from examine where id = #{id}")
    Examine selectById(@Param("id") int id);
}
